Skip to content

Feature/mip 03 group events#99

Merged
f7f376a1fcd0d0e11a10ed1b6577c9 merged 3 commits intoHORNET-Storage:mainfrom
Maphikza:feature/mip-03-group-events
Feb 18, 2026
Merged

Feature/mip 03 group events#99
f7f376a1fcd0d0e11a10ed1b6577c9 merged 3 commits intoHORNET-Storage:mainfrom
Maphikza:feature/mip-03-group-events

Conversation

@Maphikza
Copy link
Member

@Maphikza Maphikza commented Feb 9, 2026

Summary

  • Removes the early return that blocked unauthenticated (no pubkey) clients from making REQ queries in the filter handler
  • Previously, the access control check rejected all requests without an authenticated pubkey before evaluating the read access policy, which
    meant relays configured with all_users read access still required authentication
  • The CanRead method already handles the logic for different access levels, so the pubkey check was redundant and overly restrictive

…_users

Remove early authentication gate in filter handler that blocked
unauthenticated users before checking access control settings.
The CanRead function already handles all_users mode correctly,
so the empty pubkey check was preventing public relay access.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging this for now but are we sure we want to allow unauthenticated requests even when all users are allowed?

@f7f376a1fcd0d0e11a10ed1b6577c9 f7f376a1fcd0d0e11a10ed1b6577c9 merged commit 1c3efb4 into HORNET-Storage:main Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants